package com.zmn.oms.dubbo.interfaces.zmn.serviceprovider.order;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.order.OrderDRO;
import com.zmn.oms.dubbo.dto.zmn.order.OrderListPageDRO;
import com.zmn.oms.dubbo.dto.zmn.order.OrderScheduleDayDRO;
import com.zmn.oms.dubbo.dto.zmn.order.OrderScheduleTimeDRO;
import com.zmn.oms.dubbo.dto.zmn.order.serviceprovider.OrderQueryDIO;
import com.zmn.oms.dubbo.dto.zmn.order.serviceprovider.SpOrderDetailDRO;

import java.util.List;

/**
 * 类描述：服务商订单remote
 *
 * @author yule
 * @date 2020/7/2 18:01
 */
public interface ServProviderOrderListReomteService {

    /**
     * 获取工单列表
     *
     * @param queryDIO
     * @return
     */
    ResponseDTO<OrderListPageDRO> listOrder(OrderQueryDIO queryDIO);

    /**
     * 服务商订单详情
     *
     * @param orderId
     * @param workId
     * @return
     */
    ResponseDTO<SpOrderDetailDRO> findOrderWorkDetail(Long orderId, Long workId);

    /**
     * 后台获取预约排期
     *
     * @return
     */
    ResponseDTO<List<OrderScheduleDayDRO>> getScheduleDayList();

    /**
     * 后台获取预约排期
     *
     * @return
     */
    ResponseDTO<OrderScheduleTimeDRO> getScheduleTimes(String scheDate);

    /**
     * 获取订单
     *
     * @param orderId
     * @return
     */
    ResponseDTO<OrderDRO> getOrderById(Long orderId, Long workId);

}
